<% layout('/layouts/default.html', {title: '任务接收', libs: ['dataGrid']}){ %>
<div class="main-content">
    <div class="box box-main">

        <div class="box-body">
            <#form:form id="searchForm" model="${imageData}" action="${ctx}/home/homePage/getImageListData?id=${imageData.id}" method="post" class="form-inline"
            data-page-no="${parameter.pageNo}" data-page-size="${parameter.pageSize}" data-order-by="${parameter.orderBy}">

        </#form:form>
        <table id="dataGrid"></table>
    </div>
</div>
</div>
<% } %>
<script>
    // 初始化DataGrid对象
    $('#dataGrid').dataGrid({
        searchForm: $("#searchForm"),
        sortableColumn: false, // 列表不允许排序
        // showCheckbox: true,
        columnModel: [
            {header:'${text("创建时间")}', name:'createDate', width:150, align:"center"},
            {header:'${text("进展")}', name:'remarks2', width:150, align:"center"},
            {header:'${text("人员")}', name:'createBy', width:150, align:"center"},
            {header:'${text("备注")}', name:'remarks', width:150, align:"left"},
    ],
    // 加载成功后执行事件
    ajaxSuccess: function(data){

    }
    });

</script>